package ano.it.pojo;

import java.io.Serializable;
import java.util.List;

public class GreenHouse implements Serializable {
    int id;
    String name; //大棚名字
    String crop; // 庄稼
    String address; // 地址
    String undertaker; // 负责人
    int devicenum;
    String co;
    String wendu;
    List<Device> devices;

    public String getCo() {
        return co;
    }

    public void setCo(String co) {
        this.co = co;
    }

    public String getWendu() {
        return wendu;
    }

    public void setWendu(String wendu) {
        this.wendu = wendu;
    }

    public List<Device> getDevices() {
        return devices;
    }

    public void setDevices(List<Device> devices) {
        this.devices = devices;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCrop() {
        return crop;
    }

    public void setCrop(String crop) {
        this.crop = crop;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUndertaker() {
        return undertaker;
    }

    public void setUndertaker(String undertaker) {
        this.undertaker = undertaker;
    }

    public int getDevicenum() {
        return devicenum;
    }

    public void setDevicenum(int devicenum) {
        this.devicenum = devicenum;
    }

    @Override
    public String toString() {
        return "greenhouse{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", crop='" + crop + '\'' +
                ", address='" + address + '\'' +
                ", undertaker='" + undertaker + '\'' +
                ", devicenum=" + devicenum +
                '}';
    }
}
